import yaml
logdata = yaml.safe_load(open('../data/login.yaml'))
print(logdata[0]['username'])
print(logdata[0]['passwd'])